package com.ljf.tijian.controller;


import com.ljf.tijian.AI.KimiAiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/ai")
public class AiController {



    @Autowired
    KimiAiService kimiAiService;


    @PostMapping("/kimi")
    public String kimisend(@RequestBody String message){
        System.out.println(message);
        return kimiAiService.call("请从医生的角度帮我较为简短分析一下这份体检报告"+message);
    }
}
